<%@ page language="java" import="java.util.*" pageEncoding="Utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <script type="text/javascript" src="<%=basePath %>resource/page.js" ></script>
    <title>starting page</title>
  </head>
  
<body>
    <table>
<tr>
<th>帐号</th>
<th>密码</th>
</tr>
<s:iterator value="teacherList"> 
<tr>
<td><s:property value="tnumber" /></td>
<td><s:property value="tpassword" /></td>
</tr>
</s:iterator>
</table>

<s:form action="listTeacherUrl" method="post"  id="searchForm">

    <s:hidden name="pageBean.currPage" id="currentPage"></s:hidden>

</s:form>

<jsp:include page="/page.jsp"></jsp:include>

  </body>
</html>
